package com.aios.action.user.system;

import com.aios.entity.SystemUser;
import com.aios.entity.unit.UserType;

public class SystemUserAddAction extends AbstractSystemUserAction {

	private static final long serialVersionUID = 1L;
	
	public UserType[] usertypeList;
	
	public String execute() {
		
		this.systemUser = new SystemUser();
		systemUser.setUserType(UserType.ADMIN.name());
		setMode(Mode.ADD);
		return SUCCESS;
	}

	public UserType[] getUsertypeList() {
		return UserType.values();
	}

	public void setUsertypeList(UserType[] usertypeList) {
		this.usertypeList = usertypeList;
	}
	
	

}
